import {
    request
} from '../utils/request.js'

export function getnews(tool) {
    console.log(tool);
    return request({
        url: '/api/qingnews/newslist',
        data: {
            num: tool.pageSize,
            page: tool.pageNo
        }
    })
}